package com.example.mideaoem.data.humidification;

import com.example.mideaoem.data.BaseDevice;

/**加湿器*/
public class Humidification extends BaseDevice{

	public Humidification(Humidification status) {
		this.humidity = status.humidity;
		this.humidity_dot = status.humidity_dot;
		this.humidity_dot_set = status.humidity_dot_set;
		this.humidity_set = status.humidity_set;
		
		this.windSpeed = status.windSpeed;
		this.isDisplay = status.isDisplay;
		this.powerMode = status.powerMode;
		this.tankShow = status.tankShow;
	}
	
	public Humidification() {
	}
	
	@Override
	public String toString() {
		return "Humidificatoion [当前湿度（小数）=" + humidity_dot + ", 当前湿度="
				+ humidity + ", 设定湿度=" + humidity_set
				+ ", 风速="
				+ windSpeed + ", 屏显=" + isDisplay + ", 开关="
				+ powerMode + ", 水箱=" + tankShow
				+ "]";
	}

	public int humidity_dot;//湿度小数位
	public int humidity;//湿度整数位
	public int humidity_set;//设定湿度
	public int humidity_dot_set;//设定湿度（小数）
	public int windSpeed;//风速
	public boolean isDisplay;//屏显
	public byte powerMode;//电源
	public boolean tankShow;//水箱
	
	
	
	// 设定模式
	protected byte setMode;

	protected int timingFuncOn;
	// 定时开机时间，分
	protected byte timingOpenMinute;
	// 定时开－绝对小时
	protected byte timingOpenHour;
	// 定时开,0- 关,1- 开
	protected byte timingOpenMark;

	// 定时关－绝对分
	protected byte timingCloseMinute;
	// 定时关－绝对小时
	protected byte timingCloseHour;
	// 定时关,0- 关,1- 开
	protected byte timingCloseMark;
	
	
	
}
